package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户对象 user_merchant
 * 
 * @author ruoyi
 * @date 2025-06-11
 */
public class UserMerchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "名称", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long userid;

    /** 所属企业 */
    @Excel(name = "所属企业")
    private Long companyId;

    /** 是否启用   0  启用   1 删除 */
    @Excel(name = "是否启用   0  启用   1 删除")
    private String isDel;

    private int settlementOrder;
    
    public void setSettlementOrder(int settlementOrder) 
    {
        this.settlementOrder = settlementOrder;
    }

    public int getSettlementOrder() 
    {
        return settlementOrder;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }

    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("userid", getUserid())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
